#ifndef GRAPHWEEKLY_H
#define GRAPHWEEKLY_H

#include"expweek.h"
#include <QMainWindow>
#include<QtSql/QSqlDatabase>


namespace Ui {
    class GraphWeekly;
}

class GraphWeekly : public QMainWindow
{
    Q_OBJECT

public:
    explicit GraphWeekly(QDate dt,int wk,QWidget *parent = 0);
    ~GraphWeekly();

private:
    Ui::GraphWeekly *ui;
    QSqlDatabase db;
    QDate date,dayOne,dayLast;
    int week;
    void plotGraph();
private slots:
    void back();
};

#endif // GRAPHWEEKLY_H
